 <#import "../../macro/macro.ftl" as m>
  <#import "../../macro/dict.ftl" as d>
 <@m.script type="css" href="css/addWindow.css" version="1.5"/>
<div class="table-add-div">
	        <form id="userEditForm"  method="post" target="${user_path}/addOrUpdate">
	        	<@m.hiddenInput name="id"  value="${(res.id)!''}"/>
	        	<@m.hiddenInput name="orgId"  value="${(orgId)!''}"/>
	        	<table class="window-add-table">
	        		<tr>
	        			<td>
	        				归属组织：${(orgName)!''}
	        			</td>
	        			<td>
	        				<@m.labInput name="loginName" lable="登录名" prompt="请输入字母数字下划线" tag="*" value="${(res.loginName)!''}"/>
	        			</td>
	        		</tr>
	        		<tr>
	        			<td>
	        				<@m.labInput name="englishName" lable="英文名" prompt="请输入英文名" tag="*" value="${(res.englishName)!''}"/>
	        			</td>
	        			<td>
	        				<@m.labInput name="chineseName" lable="中文名" prompt="请输入中文名" tag="*" value="${(res.chineseName)!''}"/>
	        			</td>
	        		</tr>
	        		<#if (res.id)??>
	        		<#else>
	        			<tr>
		        			<td>
		        				<@m.labInput name="mobile" lable="手机号" tag="*"  prompt="请输入手机号"/>
		        			</td>
		        			<td>
		        				<@m.labInput name="email" lable="Email" tag="*" prompt="请输入邮箱号" />
		        			</td>
		        		</tr>
	        		</#if>
	        		<tr>
	        			<td>
	        				<@d.sexRadio name="sex" tag="*" value="${(res.sex)!''}"/>
	        			</td>
	        			<td>
	        				<@d.adminRadio name="adminFlg" tag="*" value="${(res.adminFlg)!''}"/>
	        			</td>
	        		</tr>
	        		<tr>
	        			<td>
	        				<@d.dictSelect lable="员工类型" name="employeeType" dtype="EMP_TYPE_ENUM" tag="*"  value="${(res.employeeType)!''}"/>
	        			</td>
	        			<td>
	        				<@m.labInput name="jobLevel" lable="职级" prompt="职级" tag="*" cls="easyui-numberbox" value="${(res.jobLevel)!''}"/>
	        			</td>
	        		</tr>
	        		<#if (res.id)??>
	        		<#else>
	        			<tr>
		        			<td>
		        				<@m.passwordInput name="password" lable="密码" prompt="请输入密码"/>
		        			</td>
		        			<td>
		        				<@d.jobSelect name="jobId" tag="*" />
		        			</td>
		        		</tr>
	        		</#if>
	        	</table>
	        </form>
        </div>